package com.youshang520i;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

/**
 *
 */
/*@Aspect
public aspect MyAspect {
    @Pointcut(value = "call(* com.youshang520i.model.Account)")
    pointcut callWithDraw(int amount, MyAspect cat) :
            call(boolean Account.withdraw(int)) && args(amount) && target(acc);

    @Before(value = "Pointcut()")
    before(int amount, MyAspect cat) : callWithDraw(amount, acc) {
        System.out.println(" before -> MyAspect");
    }
}*/
